import 'reflect-metadata';
import './assets';

import { createApp } from 'vue';

import App from '@/App.vue';
import plugins from '@/plugins';
import initRouter from '@/router';

import store from './stores';

(async () => {
  const app = createApp(App);
  app.use(store);
  const router = initRouter();
  app.use(router);
  app.use(plugins);
  await router.isReady();
  app.mount('#app');
})();
